﻿using MediatR;

namespace Customer.API.Applcation.Command.ClientCommand
{
    public class UpdClientCommand:IRequest<int>
    {
        /// <summary>
        /// 客户id
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? ClientCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string? Cfax { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Landline { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Mailbox { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Cremark { get; set; }
        /// <summary>
        /// 客户联系人id
        /// </summary>
        public int CusContactId { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; } = "呓语";

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; } = DateTime.Now;
    }
}
